package com.homeparking.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.homeparking.common.annotation.Excel;
import com.homeparking.common.core.domain.BaseEntity;

/**
 * 楼栋对象 manage_building
 * 
 * @author liuyangyang
 * @date 2025-10-13
 */
public class ManageBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long buildingId;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long communityId;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String buildingName;

    /** 售卖情况 */
    @Excel(name = "售卖情况")
    private String saleStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date startTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endTime;

    /** 单元个数 */
    @Excel(name = "单元个数")
    private String unitNum;

    /** 总户数 */
    @Excel(name = "总户数")
    private String allRoom;

    /** 总层数 */
    @Excel(name = "总层数")
    private String allFloor;

    /** 剩余套数 */
    @Excel(name = "剩余套数")
    private String remainingNum;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态0停用1启用 */
    @Excel(name = "状态0停用1启用")
    private String status;

    /** 0正常1删除 */
    private String delFlag;

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }

    public void setSaleStatus(String saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public String getSaleStatus() 
    {
        return saleStatus;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setUnitNum(String unitNum) 
    {
        this.unitNum = unitNum;
    }

    public String getUnitNum() 
    {
        return unitNum;
    }

    public void setAllRoom(String allRoom) 
    {
        this.allRoom = allRoom;
    }

    public String getAllRoom() 
    {
        return allRoom;
    }

    public void setAllFloor(String allFloor) 
    {
        this.allFloor = allFloor;
    }

    public String getAllFloor() 
    {
        return allFloor;
    }

    public void setRemainingNum(String remainingNum) 
    {
        this.remainingNum = remainingNum;
    }

    public String getRemainingNum() 
    {
        return remainingNum;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingId", getBuildingId())
            .append("communityId", getCommunityId())
            .append("buildingName", getBuildingName())
            .append("saleStatus", getSaleStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("unitNum", getUnitNum())
            .append("allRoom", getAllRoom())
            .append("allFloor", getAllFloor())
            .append("remainingNum", getRemainingNum())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
